﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PingPongMain
{
    public static class Score
    {   
        public static int PlayerScore { get; set; }
        public static int Lives { get; set; }
        public static void DisplayScore()
        {
            Console.SetCursorPosition(PrepareField.WorldCols / 2 - 10, PrepareField.WorldRows - 2);
            Console.WriteLine("Score: " + Score.PlayerScore + "    Lives: " + Score.Lives);
        }
        public static void ClearScore()
        {
            Score.PlayerScore = 0;
            Score.Lives = 3;
        }
    }
}
